package com.stm.bi.jobhandler;


import com.stm.bi.etl.sync.AdsDataSynchronizer;
import com.stm.framework.dto.Response;
import com.stm.job.annotation.JobName;
import com.stm.job.handler.JobHandler;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;

/**
 * @Author chenyingjun
 * @Desc
 * @Date 2025/2/10
 */
@JobName("ADS数据同步")
@Component
public class AdsDataSyncJobhandler implements JobHandler {
    @Resource
    private AdsDataSynchronizer adsDataSynchronizer;

    @Override
    public Response execute(String s) {
        return adsDataSynchronizer.synchronize();
    }
}
